package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @projectName: netty-cloud
 * @package: com.sky.entity
 * @className: SysFile
 * @author: zhl
 * @description: 系统文件
 * @date: 2024/6/12 16:33
 * @version: 1.0
 */
@Getter
@Setter
@TableName("sys_files")
public class SysFiles implements Serializable {

    @TableId(value = "file_id" ,type = IdType.AUTO)
    @JsonSerialize(using= ToStringSerializer.class)
    private Long fileId;

    private String name;

    private String path;

    private String type;

    private String size;

    private String prop1;

    private String prop2;

    private String createBy;

    private String createId;

    private String createTime;

    private String updateBy;

    private String updateTime;

    /** 删除标志（0代表存在 2代表删除） **/
    private String delFlag;

    /** 文件是否存在（0代表存在 1代表不存在） **/
    private String existFlag;
}
